package com.learning.platform.dto;

import jakarta.validation.constraints.Size;

public class UpdateProfileRequest {
    
    @Size(max = 100, message = "昵称不能超过100字符")
    private String nickname;
    
    private String avatarUrl;
    
    @Size(max = 500, message = "个人简介不能超过500字符")
    private String bio;
    
    @Size(max = 20, message = "手机号不能超过20字符")
    private String phone;
    
    // 构造方法
    public UpdateProfileRequest() {}
    
    // Getters and Setters
    public String getNickname() {
        return nickname;
    }
    
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    
    public String getAvatarUrl() {
        return avatarUrl;
    }
    
    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }
    
    public String getBio() {
        return bio;
    }
    
    public void setBio(String bio) {
        this.bio = bio;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
}

